<{include file="ucenter/block/header.html"}>
<div class="ucenter_t">
    <ul><li class="on">商品评论</li></ul>
</div>
<div class="ucenter_c">
<div class="tips"><span class="notice">您收到的点评（如果有不实的评价可以联系管理员投诉）</span></div>
<table width="100%" border="0" cellspacing="0" class="table">
    <tr>
		<th class="w-150">商品</th><th>评论</th><th class="w-100">用户</th><th class="w-50">评分</th>
		<th class="w-150">评论时间</th><th class="w-150">回复</th><th class="w-60"></th>
	</tr>
    <{foreach $items as $item}>
    <tr>
		<td><{$product_list[$item.product_id].name|default:'--'}></td><td><{$item.content|cutstr:20}></td>
        <td><{$member_list[$item.uid].uname|default:'--'}></td><td><{$item.score}></td><td><{$item.dateline|format}></td>
        <td><{if $item.replytime}>已回复 by <{$item.replytime|format}><{else}><b class="red">未回复</b><{/if}></td>
        <td><a href="<{link ctl='ucenter/product/comment:detail' arg0=$item.comment_id }>" class="pbtn">查看</a></td>
    </tr>
    <{foreachelse}>
    <tr><td colspan="20"><p class="tips">您的还没有收到点评</p></td></tr>
    <{/foreach}>    
    <tr><td  colspan="20" class="page-list"><div class="page"><{$pager.pagebar}></div></td></tr>
</table>
</div>
<{include file="ucenter/block/footer.html"}>